<?php
session_start();
?>
<!DOCTYPE html>
<html>
	<head>
		<title>My Paradise</title>

		<!-- Libraries -->
		<link rel="stylesheet" type="text/css" href="libs/colorbox/colorbox.css">

		<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.10.2.min.js"></script>
		<script src="libs/colorbox/jquery.colorbox-min.js"></script>
		<!-------------->

		<link rel="stylesheet" type="text/css" href="style/style.css">

		<script type="text/javascript">
			$(document).ready(function() {
				$(".lightbox").colorbox({
					maxWidth : "90%",
					maxHeight : "90%",
					rel : "slides",
				});
				$(".youtube").colorbox({
					iframe : true,
					innerWidth : 640,
					innerHeight : 390,
					rel : "slides"
				});
			});
		</script>
	</head>

	<body>
		<div id="logo">
			<h1>My Paradise</h1>
		</div>
		<div id="navigation">
			<a href="./">Home</a>
			<a href="./paradise_gallery.php">Gallery</a>
			<a href="smart_search.php">Smart Search</a>
			<?php
			if (isset($_SESSION['admin']) && ($_SESSION['admin']))
				echo "<a href=\"admin\">Admin</a>";
			?>

			<?php if (isset($_SESSION['user'])) :
			?>
			<a href="favorites.php">Favorites</a>
			<a href="logout.php"><?=$_SESSION['user'] ?>
			Log Out</a>
			<?php else : ?>
			<a href="login.php">Log in</a>
			<?php endif ?>
		</div>
		<div id="main">
